#ifndef VSSKELECTONACTOR_H
#define VSSKELECTONACTOR_H
#include "VSEntityActor.h"
namespace VSEngine2
{
	DECLARE_Proxy(VSSkelectonMeshNode);
	class VSGRAPHIC_API VSSkelectonActor : public VSEntityActor
	{
		//PRIORITY

		//RTTI
		DECLARE_RTTI;
	public:
		friend class VSWorld;
		VSSkelectonActor();
		virtual ~VSSkelectonActor();
		virtual void AddChildActor(VSActor * pActor,const VSUsedName & Name);
		virtual void ProcessInput(unsigned int uiInputType,unsigned int uiEvent,unsigned int uiKey,int x, int y, int z);
		DECLARE_INITIAL
		virtual void LoadedEvent();
		virtual unsigned int GetActorType()
		{
			return AT_SKELECTON;
		}
		GET_TYPE_NODE(VSSkelectonMeshNode)

	protected:
		VSSkelectonMeshNodeRPtr m_pSkelectonMeshResource;

	};
	DECLARE_Ptr(VSSkelectonActor);
	VSTYPE_MARCO(VSSkelectonActor);
}
#endif